<!DOCTYPE html>
<head>
<script>
	var video = document.getElementById('video');
</script>
<meta content="charset=utf-8" />
<title>Video Element</title>
</head>

<body>
	<video id="video" style="height:200px; width:200px;">
    	<source src="http://media.w3.org/2009/02/ThisisCo1961_tiny.mp4" type="video/mp4">
    </video>
    <script>
		var video = document.getElementById('video');
	</script>
    <p>
    	<button type="button" onClick="video.play();">Play</button>
        <button type="button" onClick="video.pause();">Pause</button>
   	</p>
        
</body>
</html>
